# Fixture控制级别-模块级别

import unittest

def setUpModule():
    print("setUpModule被执行了")

def tearDownModule():
    print(" tearDownModule被自动执行了")


def my_sum(a,b):
    return a + b

class my_test1(unittest.TestCase):
    # 一个方法代表一个测试用例



    def test_001(self):
        print(my_sum(5,6))

    def test_002(self):
        print(my_sum(0,3))




class my_test2(unittest.TestCase):
    # 一个方法代表一个测试用例


    def test_001(self):
        print(my_sum(5,6))

    def test_002(self):
        print(my_sum(0,3))


